<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WareHouse4WS</title>

<!-- ** CSS ** -->

<!-- base library -->
<link rel="stylesheet" type="text/css" href="css/ext-all.css" />
<!-- overrides to base library -->
<link rel="stylesheet" type="text/css" href="css/CenterLayout.css" />
<!-- page specific -->
<link rel="stylesheet" type="text/css" href="css/layout-browser.css">
<link rel="stylesheet" type="text/css" href="uploaddialog/css/UploadPanel.css">

<link rel="stylesheet" href="uploaddialog/css/Ext.ux.UploadDialog.css" type="text/css"></link>

<!-- ** Javascript ** -->
<!-- ExtJS library: base/adapter -->
<script type="text/javascript" src="js/base/ext-base.js"></script>
<!-- ExtJS library: all widgets -->
<script type="text/javascript" src="js/base/ext-all-debug-w-comments.js"></script>
<!-- extensions -->
<script type="text/javascript" src="js/ux/Spinner.js"></script>
<script type="text/javascript" src="js/ux/SpinnerField.js"></script>
<script type="text/javascript" src="js/ux/CenterLayout.js"></script>
<script type="text/javascript" src="js/ux/RowLayout.js"></script>
<script type="text/javascript" src="js/data.js"></script>
<script type="text/javascript" src="js/Utils/DatetimeField.js"></script>
<script type="text/javascript" src="js/Utils/HashMap.js"></script>

<!-- chart csssSpecial-->
<link rel="stylesheet" type="text/css" href="css/chart.css" />
<link rel="stylesheet" type="text/css" href="css/toolButton.css" />
<link rel="stylesheet" type="text/css" href="css/clientInfo.css" />
<!-- color csssSpecial-->
<link rel="stylesheet" type="text/css" title="blue"
	href="css/styleChange/xtheme-blue.css" />
<link rel="stylesheet" type="text/css" title="gray"
	href="css/styleChange/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" title="access"
	href="css/styleChange/xtheme-access.css" />
<!-- main loader-->
<%--main2租户管理员--%>
<script type="text/javascript" src="js/tree/loader1.js"></script>


<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/styleChange/styleswitcher.js"></script>
<script type="text/javascript" src="js/start.js"></script>
<!-- privilege management-->
<script type="text/javascript" src="js/privilege.js"></script>

<!-- function loader-->
<script type="text/javascript" src="js/canvasUtil.js"></script>
<script type="text/javascript" src="js/mouseClick.js"></script>
<script type="text/javascript" src="js/transform.js"></script>
<script type="text/javascript" src="uploaddialog/js/Ext.ux.UploadDialog.js"></script>

<script type="text/javascript" src="uploaddialog/js/swfupload.js"></script>
<script type="text/javascript" src="uploaddialog/js/ZipUploadPanel.js"></script>
<script type="text/javascript" src="uploaddialog/js/DepartmentUploadPanel.js"></script>
<script type="text/javascript" src="uploaddialog/js/UploadPanel.js"></script>
<script type="text/javascript" src="uploaddialog/js/navigation.js"></script>
<script type="text/javascript" src="js/showXml.js"></script>

<script type="text/javascript" src="js/search.js"></script>
<script type="text/javascript" src="js/logmgr.js"></script>
<script type="text/javascript" src="js/allocateUser.js"></script>
<script type="text/javascript" src="js/password.js"></script>
<!-- modelgroup -->
<script type="text/javascript" src="js/groupCompany.js"></script>
<script type="text/javascript" src="js/modelgroupList.js"></script>
<script type="text/javascript" src="js/tableManager.js"></script>
<script type="text/javascript" src="js/dataManager.js"></script>



<!-- 模型视图 -->
<script type="text/javascript" src="js/modelView/modelList.js"></script>
<script type="text/javascript" src="js/modelView/modelgroup.js"></script>
<script type="text/javascript" src="js/modelView/versiongroup.js"></script>

<script type="text/javascript" src="js/modelView/processList.js"></script>
<script type="text/javascript" src="js/modelView/process.js"></script>

<script type="text/javascript" src="js/modelView/functionpoint.js"></script>
<script type="text/javascript" src="js/modelView/functionpointList.js"></script>

<script type="text/javascript" src="js/modelView/companyList.js"></script>
<script type="text/javascript" src="js/modelView/organization.js"></script>

<script type="text/javascript" src="js/modelView/role.js"></script>
<script type="text/javascript" src="js/modelView/roleList.js"></script>
<script type="text/javascript" src="js/modelView/permission.js"></script>


<script type="text/javascript" src="js/modelView/drawEpcModel.js"></script>
<script type="text/javascript" src="js/modelView/epcList.js"></script>
<script type="text/javascript" src="js/modelView/epc.js"></script>

<script type="text/javascript" src="js/modelView/drawDomainModel.js"></script>
<script type="text/javascript" src="js/modelView/domainList.js"></script>
<script type="text/javascript" src="js/modelView/domain.js"></script>

<!-- sla -->
<script type="text/javascript" src="js/sla/sla.js"></script>

<script type="text/javascript"">
setUsername("${username}");
</script>

</head>
<body>


	<div id="header">
		<div id="left">
			<h1>WareHouse4WS</h1>
		</div>
		<table width="89%" border="0">
      <tr>
        <td valign="bottom" width="160"><div><font color="white" size="2" >租户管理员： <shiro:principal />!</font></div></td>
        <td valign="bottom" align="left"><div>
        <s:url id="url" action="logout" />
        <s:a href="%{url}"><font color="white" size="2"><u>退出</u></font></s:a></div>
        </td>
        <td valign="bottom" align="left"><div><a href="#" onclick="modifyPassword();"><font color="white" size="2"><u>修改密码</u></font></a></div>
        </td>
        <td><div id="right" align="right">
			<form id="styleswitcher">
				<label for="styleswitcher_select">Choose Theme: </label> <select
					name="styleswitcher_select" id="styleswitcher_select">
					<option value="blue" selected="true">Blue Theme</option>
					<option value="gray">Gray Theme</option>
					<option value="access">Accessibility Theme</option>
				</select>
			</form>
		</div>
		<div id="right"></div></td>
      </tr>
    </table>
	</div>
	<div style="display: none;">

		<!-- Start page content -->
		<div id="start-div">
			<div style="float: left;">
				<img src="images/layout-icon.gif" />
			</div>
			<div style="margin-left: 100px;">
				<h2>欢迎！</h2>
				<p>本系统是为您提供了业务模型浏览以及转换，具体请参考使用说明书。</p>
				<p>在页面左边定义了您所需要进行的操作，您可以根据你的需要选择相应功能进行操作。</p>
			</div>
		</div>		
     
 <!--加载树的组件表示部门。-->
 <div id="west">

 </div>
 <!-- 这里为各视图的canvas-->
 <canvas id="processCanvas" width="10000" height="800" > </canvas> 
 <canvas id="processListCanvas" width="10000" height="800" > </canvas> 
  
<canvas id="domainCanvas" width="10000" height="800"> </canvas> 
<canvas id="domainListCanvas" width="10000" height="800"> </canvas>

<canvas id="epcCanvas" width="10000" height="1500"> </canvas> 
<canvas id="epcListCanvas" width="10000" height="1500"> </canvas> 

<canvas id="functionCanvas" width="10000" height="800"> </canvas> 
<canvas id="functionListCanvas" width="10000" height="800"> </canvas>
 
<canvas id="organizationCanvas" width="1500" height="1500"></canvas>
<canvas id="companyListCanvas" width="1500" height="1500"></canvas>
<canvas id="roleListCanvas" width="1500" height="1500"></canvas>
<canvas id="roleCanvas" width="1500" height="1500"></canvas>
<canvas id="permCanvas" width="1500" height="1500"></canvas>
<canvas id="testCanvas" width="800" height="800"></canvas>

 <div id="domainDetail"> </div>
 <div id="organizationDetail"></div>
<div id="xmlCanvas"></div>
<div id="functionDetail"></div>
 <div id="functionPointDetail"></div>
 <div id="rolePermissionDetail"></div>
 <div id="permissionReresourcesDetail"></div>
 <div id="epcDetail"> </div>
 
  <div id="east">
  </div>

</body>
</html>
